<template>
  <ant-modal
    modalWidth="600"
    modalHeight="450"
    :visible="open"
    v-if="open"
    :modal-title="formTitle"
    :adjust-size="true"
    :maskClosable="false"
    @cancel="cancel"
  >
    <div id="QRcodeContent" slot="content" ref="QRcodeContent"></div>
      <template slot="footer">
          <a-button @click="cancel">
            取消
          </a-button>
        </template>
  </ant-modal>
</template>
<script>
import QRcode from './QRcode.js'
export default {
  ...QRcode
}
</script>
<style lang="less" scoped>
.table-operations, body tr.ant-table-expanded-row:hover .table-operations {
  padding-bottom: 8px;
  text-align: right;
}
.table-operations {
  margin-bottom: 16px;
}
.table-operations > button,
.table-operations .ant-input-affix-wrapper{
  margin-right: 8px;
}
.table_title {
  float: left;
  padding-left: 8px;
  font-weight: 600;
  color: #222222;
  line-height: 30px;
}
</style>
